Skip to content

Conversation

j-mes
Copy link
Owner

@j-mes j-mes commented Jun 27, 2025

This pull request introduces a comprehensive game progress tracking system, including a React-based UI, a JSON data structure for storing game progress, and automation scripts for updating logs via GitHub Actions. The key changes focus on implementing the tracking functionality, creating an update workflow, and ensuring seamless integration with version control.

Frontend Implementation:

  • automation/game-progress.tsx: Added a React component to display game progress, including logs with hours played, completion percentage, and trackable items. Sorting functionality ensures games are displayed by the most recently updated.

Data Structure:

  • automation/progress.json: Defined a JSON structure to store game progress data, including start dates, logs, and trackable items for multiple games.

Automation Workflow:

  • automation/update-gamelog.yml: Created a GitHub Actions workflow to update game logs. This includes inputs for game title, hours played, completion percentage, and trackables, and automates pull request creation and merging.

Backend Script:

  • automation/update-progress.js: Implemented a Node.js script to update the progress.json file with new log entries, calculate deltas for hours, completion, and trackables, and ensure data integrity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant